package com.taotao.rest.webservice;

import java.util.List;

import javax.jws.WebService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.taotao.pojo.TbContent;
import com.taotao.rest.service.ContentService;


@Component
@WebService(serviceName="ContentWebService", endpointInterface="com.taotao.rest.webservice.ContentWebService")
public class ContentWebServiceImpl implements ContentWebService {
	
	@Autowired
	private ContentService contentService;
	@Override
	public List<TbContent> getContentList(long categoryId) {
		return contentService.getContentList(categoryId);
	}

}
